package com.ruoyi.training.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 知识库书籍对象 knowledge_base_books
 * 
 * @author rocc
 * @date 2025-06-27
 */
public class KnowledgeBaseBooks extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 知识库id */
    private Long knowledgeBaseId;

    /** 书名称 */
    @Excel(name = "书名称")
    private String bookName;

    /** 书籍地址 */
    @Excel(name = "书籍地址")
    private String bookUrl;

    /** 向量状态 */
    @Excel(name = "向量状态")
    private Integer embedStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setKnowledgeBaseId(Long knowledgeBaseId) 
    {
        this.knowledgeBaseId = knowledgeBaseId;
    }

    public Long getKnowledgeBaseId() 
    {
        return knowledgeBaseId;
    }

    public void setBookName(String bookName) 
    {
        this.bookName = bookName;
    }

    public String getBookName() 
    {
        return bookName;
    }

    public void setBookUrl(String bookUrl) 
    {
        this.bookUrl = bookUrl;
    }

    public String getBookUrl() 
    {
        return bookUrl;
    }

    public void setEmbedStatus(Integer embedStatus) 
    {
        this.embedStatus = embedStatus;
    }

    public Integer getEmbedStatus() 
    {
        return embedStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("knowledgeBaseId", getKnowledgeBaseId())
            .append("bookName", getBookName())
            .append("bookUrl", getBookUrl())
            .append("embedStatus", getEmbedStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
